#include "PIDCalculator.h"

PIDCalculator::PIDCalculator()
{
	printf("PIDCalculator Initialized");
	pidOutput = 0;
}
PIDCalculator::~PIDCalculator()
{
	printf("PIDCalculator Deconstructor Called");
	//delete instance;
	//instance = NULL;
}
float PIDCalculator::getOutput()
{
	return pidOutput;
}
void PIDCalculator::PIDWrite(float output)
{
	//printf("PIDWrite Called\n");
	pidOutput = output;
}
/*
PIDCalculator* PIDCalculator::Clone()
{
	
	if(instance == NULL)
	{
		instance = new PIDCalculator();
	}//end of if
	
	return instance;
	
}
*/
